<com:TPanel>
	<table witdh="100%">
		<tr>
			<td class="ColLeft" valign="top" width="225">
				<!-- left menu start -->
				<com:TRepeater ID="Repeater" EnableViewState="false">
					<prop:HeaderTemplate>
					<table cellpadding="3" cellspacing="0" class="MenuSide" width="225">
						<tr>
							<td class="Item">Spiller profiler</td>
						</tr>
					</prop:HeaderTemplate>

					<prop:ItemTemplate>
						<tr>
							<td class="ItemlL2">&nbsp;&nbsp;-&nbsp;<com:THyperlink Text="<%#$this->Data->FullName%>" NavigateUrl="<%#$this->Service->constructUrl($this->Service->RequestedPagePath,array('spid'=>$this->Data->id)) %>" /></td>
						</tr>
					</prop:ItemTemplate>
					<prop:FooterTemplate>
					</table>
					</prop:FooterTemplate>
				</com:TRepeater>
				<!-- left menu end -->
			</td>
			<td valign="top" width="100%">
				<com:TPanel Id="pfIntro">
				<h1>Spiller profiler</h1>
				<p>Team Himmerland best&aring;r af et godt mix af unge talentfulde spillere og lidt mere erfarne spillere.  Ved at benytte menuen til venstre kan du f&aring; mere information om hver spiller.</p>
				</com:TPanel>
				<com:TPanel Id="pfProfile" Enabled="false" Visible="false" Style="width:650px;">
				<table width="100%">
					<tr>
						<td width="100%">
							<h1 width="100%"><%=$this->ActiveProfile->FullName%></h1>
						</td>
					</tr>
					<tr>
						<td width="100%">
							<table width="100%">
								<tr>
									<td valign="top" width="120" ><com:TImage ImageUrl="<%=$this->ProfileImageUrl%>" Width="100px" Height="100px" AlternateText="<%=$this->ActiveProfile->FullName%>" /></td>
									<td valign="top">
											<table width="100%">
											<tr>
												<td><h2>Beskrivelse</h2></td>
											</tr>
											<tr>
												<td><%=nl2br($this->ActiveProfile->description)%></td>
											</tr>
											<tr>
												<td><hr class"test" style="border: 1px solid #e0e0e0; height:1px; marging: 0px;"/></td>
											</tr>
											<tr>
												<td><h2>Udstyr</h2></td>
											</tr>
											<tr><td><%=$this->ActiveProfile->club1%></td></tr>
											<tr><td><%=$this->ActiveProfile->club2%></td></tr>
											<tr><td><%=$this->ActiveProfile->club3%></td></tr>
											<tr><td><%=$this->ActiveProfile->club4%></td></tr>
											<tr><td><%=$this->ActiveProfile->club5%></td></tr>
											<tr><td><%=$this->ActiveProfile->club6%></td></tr>
											<tr><td><%=$this->ActiveProfile->club7%></td></tr>
											<tr><td><%=$this->ActiveProfile->club8%></td></tr>
											<tr><td><%=$this->ActiveProfile->club9%></td></tr>
											<tr><td><%=$this->ActiveProfile->club10%></td></tr>
											<tr><td><%=$this->ActiveProfile->club11%></td></tr>
											<tr><td><%=$this->ActiveProfile->club12%></td></tr>
											<tr><td><%=$this->ActiveProfile->club13%></td></tr>
											<tr><td><%=$this->ActiveProfile->club14%></td></tr>
											<tr><td><%=$this->ActiveProfile->bag%></td></tr>
											<tr><td><%=$this->ActiveProfile->ball%></td></tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>

					<tr>
						<td style="text-align: right;">
						<com:THyperLink Id="ProfileLogin" ImageUrl="<%=$this->UnlockImageUrl%>" Text="<%[Login]%>" NavigateUrl="<%=$this->Service->constructUrl('System.Login')%>" />
						<com:THyperLink Id="ProfileEdit" ImageUrl="<%=$this->EditImageUrl%>" Text="<%[Edit]%>" NavigateUrl="<%=$this->Service->constructUrl($this->Service->RequestedPagePath,array('spid'=>$this->ActiveProfile->id,'edit' =>1))%>" /></td>
					</tr>
				</table>
				</com:TPanel>
				<com:TPanel Id="pfProfileEdit" Enabled="false" Visible="false" Style="width:650px;" GroupingText="<%[Edit]%>">
				<table width="100%">
					<tr>
						<td width="100%">
							<h1 width="100%"><%=$this->ActiveProfile->FullName%></h1>
						</td>
					</tr>
					<tr>
						<td width="100%">
							<table width="100%">
								<tr>
									<td valign="top" width="120"><com:TImage ImageUrl="<%=$this->ProfileImageUrl%>" Width="100px" Height="100px" AlternateText="<%=$this->ActiveProfile->FullName%>" /></td>
									<td valign="top">
										<table width="100%">
											<tr>
												<td><com:TTextBox Id="description" TextMode='MultiLine' Columns="80" Text="<%=$this->ActiveProfile->description%>" /></td>
											</tr>
											<tr>
												<td>Udstyr</td>
											</tr>
											<tr><td><com:TLabel ForControl="club1" Text="1. Kølle" /><com:TTextBox Id="club1" Text="<%=$this->ActiveProfile->club1%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club2" Text="2. Kølle" /><com:TTextBox Id="club2" Text="<%=$this->ActiveProfile->club2%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club3" Text="3. Kølle" /><com:TTextBox Id="club3" Text="<%=$this->ActiveProfile->club3%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club4" Text="4. Kølle" /><com:TTextBox Id="club4" Text="<%=$this->ActiveProfile->club4%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club5" Text="5. Kølle" /><com:TTextBox Id="club5" Text="<%=$this->ActiveProfile->club5%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club6" Text="6. Kølle" /><com:TTextBox Id="club6" Text="<%=$this->ActiveProfile->club6%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club7" Text="7. Kølle" /><com:TTextBox Id="club7" Text="<%=$this->ActiveProfile->club7%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club8" Text="8. Kølle" /><com:TTextBox Id="club8" Text="<%=$this->ActiveProfile->club8%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club9" Text="9. Kølle" /><com:TTextBox Id="club9" Text="<%=$this->ActiveProfile->club9%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club10" Text="10. Kølle" /><com:TTextBox Id="club10" Text="<%=$this->ActiveProfile->club10%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club11" Text="11. Kølle" /><com:TTextBox Id="club11" Text="<%=$this->ActiveProfile->club11%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club12" Text="12. Kølle" /><com:TTextBox Id="club12" Text="<%=$this->ActiveProfile->club12%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club13" Text="13. Kølle" /><com:TTextBox Id="club13" Text="<%=$this->ActiveProfile->club13%>" Columns="80" /></td></tr>
											<tr><td><com:TLabel ForControl="club14" Text="14. Kølle" /><com:TTextBox Id="club14" Text="<%=$this->ActiveProfile->club14%>" Columns="80" /></td></tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>

					<tr>
						<td style="text-align: right;"><com:TImageButton Id="ProfileSave" ImageUrl="<%=$this->SaveImageUrl%>" Text="<%[Save]%>" CommandName="Save" onCommand="SaveProfile" /></td>
					</td>
					</tr>
				</table>
				</com:TPanel>
			</td>
		</tr>
	</table>
</com:TPanel>